import Vue from 'vue'
import Vuex from 'vuex'
import state from "./state";
import mutations from "./mutations";
import getters from "./getters";
import permission from "./actions/permission"
import user from "./actions/user"
import menu from "./actions/menu"
Vue.use(Vuex);
export default new Vuex.Store({
    state,
    mutations,
    getters,
    modules:{
        permission,
        user,
        menu
    }
})

